using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JVIT.TimeSheet.BLL
{
    public static class DateTimeExtension
    {
        public const string TIME_NOTATION = "HH:mm:ss";
        public static string ToReadableString(this DateTime? dateTime)
        {
            return dateTime.HasValue ? dateTime.Value.ToString(TIME_NOTATION) : "";
        }
    }
}
